package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.SetmealDto;
import com.itheima.entry.PageResult;
import com.itheima.entry.QueryPageBean;
import com.itheima.pojo.Setmeal;
import com.itheima.vo.SetmealVo;

import java.util.List;
import java.util.Map;

/**
 * @author jshstart
 * @creat 2020-11-13 17:41
 */
public interface SetmealService extends IService<Setmeal> {
    PageResult findAllByPage(QueryPageBean queryPageBean);

    void addAndUpdate(SetmealDto setmealDto);

    Long[] findAllIds(Long id);

    void deleteById(Long id);

    public void clearOssObject();

    List<Setmeal> findAll();

    SetmealVo findAllGroupItem(Long id);

    Setmeal findAllById(Long id);

    List<Map> findHotSetmeal();
}
